<script setup lang="ts">
const props = withDefaults(defineProps<{
  color?: string
  w?: string | number
}>(), {
  color: '#ECECEC',
  w: '623',
})
</script>

<template>
  <view
    class="mx-auto h-1px"
    :style="{
      width: `${props.w}rpx`,
      backgroundColor: props.color,
    }"
  />
</template>
